package com.ericom.dao.hibernate;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ericom.dao.VariationValueDao;
import com.ericom.model.VariationValue;
@Repository("variationValueDao")
public class VariationValueDaoHibernate extends GenericDaoHibernate<VariationValue, Long>
		implements VariationValueDao {

	public VariationValueDaoHibernate() {
		super(VariationValue.class);
		
	}

	public List<VariationValue> findByVariatinType(Long vtid) {
		
		return this.getHibernateTemplate().find("from VariationValue where variationTypeId=?",vtid);
	}

}
